'use strict'

process.on('exit', function name(code) {
    console.log('about to exit with code: ' + code);
});
process.nextTick(function () {
    console.log('nextTick.');
});
console.log('nextTick was set.');

if (typeof (window) === 'undefined') {
    console.log('Node.js');
} else {
    console.log('Browser');
}